<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maxinum-scale=1.0, user-scale=0">
    <title>Document</title>
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" type="text/css" href="css/swiper.min.css">
    <style type="text/css">
        .scroll{height: 170px;}
        .scroll a{
            color: #666666;
            font-size: 14px;
        }
        .dotLine {
            padding-top: 8px;
        }
        .sel2 {
    background-color: #0067b6!important;
    color: #ffffff!important;
}
    </style>
</head>
<body style="min-width: 900px;overflow: auto;">
    <div id="header" class="flex">
        <div class="logo"><img src="./img/icon_logo_03.png"></div>
        <div class="flex flex-y">
            <div class="flex flex-end btns">
                <a class="btn sel">中文版</a>
                <a class="btn ">English</a>
                <a class="btn ">退出</a>
            </div>
            <div class="navbar navbar-top flex">
                <ul class="nav flex">
                    <li class="sel"><a>网站首页</a></li>
                </ul>
                <ul class="nav flex">
                    <li><a>公司简介</a></li>
                </ul>
                <ul class="nav flex">
                    <li><a>产品中心</a></li>
                </ul>
                <ul class="nav flex">
                    <li><a>新闻中心</a></li>
                </ul>
                <ul class="nav flex">
                    <li><a>公司资质</a></li>
                </ul>
                <ul class="nav flex">
                    <li><a>设施设备</a></li>
                </ul>
                <ul class="nav flex">
                    <li><a>联系公司</a></li>
                </ul>
                <ul class="nav flex">
                    <li><a>人力资源</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div id="ad"><img src="./img/img_02.png"></div>
    <div id="mid-bar">
        <div class="container flex">
            <div class=" flex">
                <div class="left flex flex-y">
                    <div>
                        <p>走进金坤、金硕文化</p>
                    </div>
                    <div class="btn-radius"><a>查看全部</a></div>
                </div>
                <div class="mid"><p class="font-content">公司于渤海之湾、“中国海洋化工产业基地”占地500余亩，总投资20亿元。项目采用国内先进的天然气低压非催化法二硫化碳生产工艺、连续硝化工艺等多种先进技术。</p></div>
            </div>
            <div class="right">
                <ul class="tag-nav flex">
                    <li class="border-x flex flex-y flex-around">
                        <div><img class="img" src="./img/icon01_03.png"></div>
                        <div><span class="font-tag">产品用途</span></div>
                    </li>
                    <li class="border-x flex flex-y flex-around">
                        <div><img class="img" src="./img/icon01_05.png"></div>
                        <div><span class="font-tag">公司实力</span></div>
                    </li>
                    <li class="border-x flex flex-y flex-around">
                        <div><img class="img" src="./img/icon01_07.png"></div>
                        <div><span class="font-tag">前景规划</span></div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div id="content">
        <div class="flex">
            <div class="box">
                <div class="box-tag flex">
                    <a class="tip sel2">产品展示</a>
                    <a >more&gt;&gt;</a>
                </div>
                <div class=" flex aw">
                    <div class="box-img">
                        <!-- <img class="img1" src="./img/img_05.png"> -->
                        <div style="width: 245px;height: 170px">
                            <div class="swiper-container">
                                <div class="swiper-wrapper">
                                  <div class="swiper-slide">
                                        <img class="img1" src="./img/img_05.png">
                                  </div>
                                  <div class="swiper-slide">
                                        <img class="img1" src="./img/img_05.png">
                                  </div>
                                  <div class="swiper-slide">
                                        <img class="img1" src="./img/img_05.png">
                                  </div>
                                </div>
                                <div class="swiper-pagination"></div>
                            </div>
                        </div>
                    </div>
                    <div class="box-content flex flex-y aw">
                        <div  class="scroll" id="xst" style="overflow: hidden;">
                            <div class="dotLine">
                                <p class="title">无机化工类</p>
                                <p>二硫化碳、硫酸、盐酸、橡胶促进剂</p>
                            </div>
                            <div  class="dotLine">
                                <p class="title">染料类</p>
                                <p>
                                    <p><a href="javascript:;" target="_blank">1-氨基蒽醌、蒽醌、1,4二羟基蒽醌、溴氨酸、1-4二氨基蒽醌隐色体、分散红60、分散紫26、分散红86、分散红146、分散红911-氨基蒽醌、蒽醌、1,4二羟基蒽醌、溴氨酸、1-4二氨基蒽醌隐色体、分散红60、分散紫26、分散红86、分散红146</a></p>

                                </p>
                            </div>
                             <div class="dotLine">
                                <p class="title">无机化工类</p>
                                <p>二硫化碳、硫酸、盐酸、橡胶促进剂1-氨基蒽醌、蒽醌、1,4二羟基蒽醌、溴氨酸、1-4二氨基蒽醌隐色体、分散红60、分散紫26、分散红86、分散红146、分散红911-氨基蒽醌、蒽醌、1,4二羟基蒽醌、溴氨酸、1-4二氨基蒽醌隐色体、分散红60、分散紫26、分散红86、分散红1461-氨基蒽醌、蒽醌、1,4二羟基蒽醌、溴氨酸、1-4二氨基蒽醌隐色体、分散红60、分散紫26、分散红86、分散红146、分散红911-氨基蒽醌、蒽醌、1,4二羟基蒽醌、溴氨酸、1-4二氨基蒽醌隐色体、分散红60、分散紫26、分散红86、分散红1461-氨基蒽醌、蒽醌、1,4二羟基蒽醌、溴氨酸、1-4二氨基蒽醌隐色体、分散红60、分散紫26、分散红86、分散红146、分散红911-氨基蒽醌、蒽醌、1,4二羟基蒽醌、溴氨酸、1-4二氨基蒽醌隐色体、分散红60、分散紫26、分散红86、分散红146</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="box">
                <div class="box-tag flex">
                    <div>
                        <a class="tip sel">新闻中心</a>
                        <a class="tip ">联系我们</a>
                    </div>
                    <a >more&gt;&gt;</a>
                </div>
                <div class=" flex fw" style="position: relative;">
                    <div class="box-img flexInner1 op"><img class="img2" src="./img/img_07.png"></div>
                    <div class="box-content flexInner1 op" >
                        <ul class="contact flex flex-y">
                            <li><a>联系人：袁部长（销售部）</a></li>
                            <li class="sel"><a>手机：15175577698</a></li>
                            <li><a>电话：0315-5077931</a></li>
                            <li><a>邮箱：anyuangroup@163.com</a></li>
                            <li><a>地址：河北省唐山市南堡开发区西外环西侧</a></li>
                        </ul>
                    </div>
                    <div class="flexInner2 ">
                        <div class="flexInnerContent">
                            <span>特高压输变电用环保绝缘气体国产化</span>
                            <span>2020年5月1日</span>
                        </div>
                        <div class="flexInnerContent">
                            <span>生物质转化高值化学品有新法</span>
                            <span>2020年7月1日</span>
                        </div>
                        <div class="flexInnerContent">
                            <span>兰州石化员工获评全国青年岗位能手</span>
                            <span>2020年8月23日</span>
                        </div>
                        <div class="flexInnerContent">
                            <span>特高压输变电用环保绝缘气体国产化</span>
                            <span>2020年5月1日</span>
                        </div>
                         <div class="flexInnerContent">
                            <span>特高压输变电用环保绝缘气体国产化</span>
                            <span>2020年5月1日</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="footer">
        <div class="flex">
            <div class="footer-left flex flex-y">
                <div class="navbar flex">
                    <ul class="footer-nav nav flex">
                        <li><a class="font-gray">网站首页</a></li>
                    </ul>
                    <ul class="footer-nav nav flex">
                        <li><a class="font-gray">公司简介</a></li>
                    </ul>
                    <ul class="footer-nav nav flex">
                        <li><a class="font-gray">产品中心</a></li>
                    </ul>
                    <ul class="footer-nav nav flex">
                        <li><a class="font-gray">新闻中心</a></li>
                    </ul>
                    <ul class="footer-nav nav flex">
                        <li><a class="font-gray">公司资质</a></li>
                    </ul>
                    <ul class="footer-nav nav flex">
                        <li><a class="font-gray">设施设备</a></li>
                    </ul>
                    <ul class="footer-nav nav flex">
                        <li><a class="font-gray">联系公司</a></li>
                    </ul>
                    <ul class="footer-nav nav flex">
                        <li><a class="font-gray">人力资源</a></li>
                    </ul>
                </div>
                <p class="font-gray">CopyRight 2020 All Right Reserved 唐山金坤化工有限公司 ICP:冀ICP备20013182号</p>
                <p class="font-gray">地址：河北省唐山市南堡开发区西外环西侧  电话：0315-5659996 </p>
            </div>
            <div class="footer-right flex">
                <div class="choice">
                    <select>
                        <option value="">友情链接</option>
                    </select>
                </div>
                <div><img src="./img/img_12.png"></div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/swiper.min.js"></script>
    <script>
        // var lis=['公司简介','公司简介','产品中心','新闻中心','公司资质','设施设备','联系公司','人力资源'];
        // var nav=document.querySelector('.nav');
        // var list=[];
        // for(var li of lis){
        //     nav.appendChild('::after');
        // }
        $(".tip").on("click",function(){
            if($(this).index()==0){
                $(".flexInner1").addClass("op")
                $(".flexInner2").removeClass("op")
            }
            if($(this).index()==1){
                $(".flexInner2").addClass("op")
                $(".flexInner1").removeClass("op")
            }
            $(".tip").each(function(){
                $(this).removeClass("sel")
            })
            $(this).addClass("sel")
        })
    </script>
    <script>
        var swiper = new Swiper('.swiper-container', {
          autoplay: {
                delay: 2500,
                disableOnInteraction: false,
           },
           pagination: {
                el: '.swiper-pagination',
                type: 'custom',
                autoplayDisableOnInteraction : false,
                renderCustom: function (swiper, current, total) {
                    var paginationHtml = " ";
                    for (var i = 0; i < total; i++) {
                        // 判断是不是激活焦点，是的话添加active类，不是就只添加基本样式类
                        if (i === (current - 1)) {
                            paginationHtml += '<span class="swiper-pagination-customs swiper-pagination-customs-active">'+(i+1)+'</span>';
                        }else{
                            paginationHtml += '<span class="swiper-pagination-customs">'+(i+1)+'</span>';
                        }                         
                    }
                    return paginationHtml;
                },
            }

        });


        $(".nav li").on("click",function(){
            
            $(".nav li").each(function(){
                $(this).removeClass("sel")
            })
            $(this).addClass("sel");
        })

      </script>

      <script type="text/javascript">
        function addEventSimple(obj,evt,fn){
            if(obj.addEventListener){
                obj.addEventListener(evt,fn,false);
            }else if(obj.attachEvent){
                obj.attachEvent('on'+evt,fn);
            }
        }

        addEventSimple(window,'load',initScrolling);

        var scrollingBox;
        var scrollingInterval;
        var reachedBottom=false;
        var bottom;

        function initScrolling(){
            scrollingBox = document.getElementById('xst');
            scrollingBox.style.overflow = "hidden";
            scrollingInterval = setInterval("scrolling()",50);
            scrollingBox.onmouseover = over;
            scrollingBox.onmouseout = out; 
        }

        function scrolling(){
            var origin = scrollingBox.scrollTop++;
            if(origin == scrollingBox.scrollTop){
                if(!reachedBottom){
                    scrollingBox.innerHTML+=scrollingBox.innerHTML;
                    reachedBottom=true;
                    bottom=origin;
                }else{
                    scrollingBox.scrollTop=bottom;
                }
            }
        }

        function over(){
            clearInterval(scrollingInterval);
        }
        function out(){
            scrollingInterval = setInterval("scrolling()",50);
        }
        </script>
</body>
</html>